﻿@model E5_KhuyenMaiVang.Models.Logon
@{
    ViewBag.Title = "LogOn";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
<div class="logon">
    <div class="validation">@Html.ValidationSummary(true)</div>
    <h2>
        Đăng nhập</h2>
    <div class="row">
        <div class="left-row">@Html.LabelFor(model => model.Username)</div>
        <div class="input-row">@Html.EditorFor(model => model.Username) @Html.ValidationMessageFor(model => model.Username)</div>
    </div>
    <div class="row">
        <div class="left-row">@Html.LabelFor(model => model.Password)</div>
        <div class="input-row">@Html.EditorFor(model => model.Password) @Html.ValidationMessageFor(model => model.Password)</div>
    </div>
    <div class="row">
        @Html.CheckBoxFor(m => m.RememberMe)
        @Html.LabelFor(m => m.RememberMe)
    </div>
    <div class="row">
        <div class="midle">
            <input class="submit-form" name="Logon" value=" Đăng nhập " type="submit" /></div>
    </div>
</div>
}
<table width="100%">
</table>
